﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CreateCompany.ascx.cs" Inherits="Incubator.Controls.CreateCompany" %>
<style type="text/css">

    .style1
    {
        height: 45px;
    }
    .style7
    {
        height: 50px;
        width: 132px;
    }
    .style6
    {
        height: 50px;
    }
    .style5
    {
        height: 50px;
        text-align: left;
    }
    .style9
    {
        height: 30px;
    }
    .style8
    {
        height: 67px;
        width: 132px;
    }
    .style2
    {
        height: 67px;
    }
    </style>

<table class="style1" runat=server id="logintable" visible=true 
    style="height: 189px; width: 337px" align="center">
        <tr>
            <td class="style7">
                Company Name:
            </td>
            <td class="style6" style="text-align: left">
                <asp:TextBox ID="CompanyNameTB" runat="server" style="margin-left: 1px; text-align: left;" 
                    Width="200px" Height="30px" MaxLength="30"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="CompanyNameTB" ErrorMessage="Invalid Company Name" 
                    ValidationExpression="^[A-Za-z0-9\s']{1,30}"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style7">
                Description:</td>
            <td class="style5" valign="middle">
                <asp:TextBox ID="DescriptionTB" runat="server" Height="101px" 
                    style="text-align: left" Width="200px" MaxLength="200" ></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                    ControlToValidate="DescriptionTB" ErrorMessage="Invalid Description" 
                    ValidationExpression="^[A-Za-z0-9'\.,\s]{1,200}"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style9" colspan="2">
                <asp:Label ID="warningMessage" runat="server" ForeColor="#FF3300"></asp:Label>
                </td>
        </tr>
        <tr>
            <td class="style8">
                </td>
            <td align="right" class="style2">
                <asp:Button ID="createButton" runat="server" Text="Start Up" 
                    onclick="createButton_Click" />
            </td>
        </tr>
    </table>
